﻿#include "helper.h"

void* GetNewComponent()
{
    return new Helper();
}

const char* GetComponentName()
{
    return QStringLiteral("帮助").toUtf8().data();
}


const char* GetComponentDescription()
{
    QString strDes = "";
    strDes += QStringLiteral("帮助功能");
    strDes += "\n";
    return strDes.toUtf8().data();
}

Helper::Helper()
{
    m_pComList = new CompenentList();
}

void Helper::Excute(const char* content)
{
    m_pComList->show();
}

